using System.Collections.Generic;
using AElf.OS.Network.Metrics;

namespace AElf.WebApp.Application.Net.Dto;

public class PeerDto
{
    public string IpAddress { get; set; }
    public int ProtocolVersion { get; set; }
    public long ConnectionTime { get; set; }
    public string ConnectionStatus { get; set; }
    public bool Inbound { get; set; }
    public int BufferedTransactionsCount { get; set; }
    public int BufferedBlocksCount { get; set; }
    public int BufferedAnnouncementsCount { get; set; }
    public List<RequestMetric> RequestMetrics { get; set; }
    public string NodeVersion { get; set; }
}